package test1223;

public class Test07 {
    public static void main(String[] args) {
        // 求1+2+3+4+5+6+7+8+9+10和
        int i= 0;
        for (int a = 1; a<= 10; a++) {
            i+=a;
        }
        System.out.println(i);
    }
}


